package frobagroup.entities.frontEnd;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.*;

/**
 * Created by Tinsley on 2018/5/22.
 */
@NoArgsConstructor
@Data
@Document(collection = "shoppingCart")
public class ShoppingCart {

    @Id
    private String id;
    private String uId;
    private String pId;
    private String productName;
    private Date commitTime;
    private Date updateTime;
    private double price;
    private double  discountPrice;
    private String desc;
    private String type;
    private String title;
    private String size;
    private String productColor;
    private String productPic;
    private String ingredients;
    private String brandName;
    private String placeOfProduction;
    private String  qualityGuaranteePeriod;
    private String reminder;
    private int purchaseNum ;

}
